﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Max.Ph5_2009A.NewShopping.DTO
{
    /// <summary>
    /// 商品列表输出DTO
    /// </summary>
    public class ProductInfoOutputDto
    {
        //图片、商品名称、价格、店铺名称、评价数
        public Guid Id { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 图片路径
        /// </summary>
        public string? ImageUrl { get; set; }

        /// <summary>
        /// 店铺名称
        /// </summary>
        public string? StoreName { get; set; }

        /// <summary>
        /// 评价数
        /// </summary>
        public string? CommentNumber { get; set; }

        /// <summary>
        /// 销量
        /// </summary>
        public int? SaleNumber { get; set; }
    }
}
